package com.mooc.yohoshop.dao;

import org.greenrobot.greendao.query.WhereCondition;

import java.util.List;

public  interface DaoCRUD<T>{

    public boolean insert(T t);
    public boolean inserts(List<T>datas);
    public List<T> selectAll();
    public T select(WhereCondition whereCondition);
    public boolean update(T t);
    public boolean updateAll(List<T> datas);
    public void delete(T t);
    public void deleteAll();
}
